/*
aso_debug.h: Antiviral Sequence Optimizer debugging support.
    Copyright (C) 2009  Daniel Gutson, FuDePAN

    This file is part of Aso.

    Aso is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Aso is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Aso.  If not, see <http://www.gnu.org/licenses/>.
*/

STL_DEBUG_REGISTER_MAP(size_t, char);

#ifdef STL_DEBUG_ENABLE
DECLARE_STL_TO_COUT(SparseSequence)
{
    stl_print(p.sequence, false);
}
#endif
STL_DEBUG_REGISTER_LIST(SparseSequence);

#ifdef STL_DEBUG_ENABLE
DECLARE_STL_TO_COUT(Antiviral::ResistancePosition)
{
    stl_print(p.position, false);
    stl_print(" ", false);
    stl_print(p.aminoacids, false);
}
#endif

STL_DEBUG_REGISTER_LIST(Antiviral::ResistancePosition);

#ifdef STL_DEBUG_ENABLE
DECLARE_STL_TO_COUT(Antiviral)
{
    stl_print(p.get_name(), false);
    stl_print(" ", false);
    stl_print(p.resistances, false);
}
#endif
STL_DEBUG_REGISTER_LIST(Antiviral);

#ifdef STL_DEBUG_ENABLE
DECLARE_STL_TO_COUT(Antiviral* const)
{
    stl_print(*p);
}
#endif
STL_DEBUG_REGISTER_LIST(const Antiviral*);

STL_DEBUG_REGISTER_SET(SparseSequence);

